﻿namespace VOL.WebApi
{
    public class AlipayConfig
    {
        // 应用ID,APPID ，数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-基本信息-APPID
        public static string AppId = "2021000143611259";

        // 支付宝网关, 数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-开发信息-支付宝网关地址
        public static string GatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

        // 商户私钥，原始格式RSA私钥, 数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-开发信息-公钥模式-查看-应用私钥-非JAVA语言，复制私钥，即可
        public static string PrivateKey = "MIIEogIBAAKCAQEAhAZWytNKpAxMqmg6+XXf6HCG/iotphHrWKNadRzSdWrJY/DunTfOzUsB9Awu0oUAS1VisYmO7U5BBaB3b1JYE+RIppZBINfrMpX3jGtEICyXZbSmEk7+xhTu7e0vK/fplXINktepIgZn44gsraRwOGpy/jvKXsgLMsQUp36eXKn+YRpfCzA7t8jthkW5GYElo5tKThUVKnTq48lYS/C5eWP81HVWS9Mx1wFd/TVmlwJuoH7pHQ9gck9Efz1YrG/mQAog2C3psQR+J0ytf6KW83+WOPrOvGX0EC7u9RbkjosoDF4OtrOoLN84+bGPWQEEhMgYPQNWHNk0Se3c1qDHdwIDAQABAoIBAFMiery1WCb857nWcGxtYVVIpnidrqkIV541HtzoDU6Ks84PBPJTFhIHzW8TzNgbkBff6InLCQk9YYxdg1fCDlxYP7dGnjREQoJUFNGDKh7odV1B5+FXhO7Od7WyySVyss+8RffVfVdDmV+ZfCjLhy6/OTIGDGSqqwKInkjqXmYSbPeupvNMXnCooKLUl+sK5E8+jsJTauG0eLxQpCrTKuZm1HGoMTBXudPZ94njyhAO4pcyFcWiFhnuvlYQS4OzoK/IeCosTulyewamB7TNOHf1jS/MXdrrg5ZbOhkebXRoYZfixQ2F7uMpiiOHmODRAlW/3KD0PVezbm7rqXDB3CECgYEAySoPEbAsY5A0gzCKd6ervv509IiWhP2B98qjNdyICUHwEIPE7AZyHLD31zaSzwKhogGvzYdKCkV2qnvFeNh/P6+IsS2PCns5Kyu1Ip1WZvcRKlzuJC2BwaivEvLqM1Cc+V/tZPjv+A+PWVNQrz6oEUVbOTKoJ65z1RCSjSzKmQUCgYEAqAN79quQRwoVFvcV4cqMhymJTabpJ3S8/XciNgQrY3WAHRhoia51V3o6+79LZedykvdDv+a2jKpSghz8JRUH7FfsgaPLQaJRyP0GS4SL+ZAbtgsWCROvLgzjYhkZUmmKfpI1xmYhNQh9q87c9vpzVQUzCo7hFcq4zmX7pzo0l0sCgYBcQZW3nvw8jR4ILHLUfWkepsQsgZfGVh0M7zn6sbERzdOzPztIo4wh7Gc9pCGgHqzSB8QAllM2crUBatIdoex54J7n4uT/AZQuYFUqEs5VWmnc69GrddNUZXAlWJJgBlB3ba8J58DmGvy7EqKmPC4H/a7ghILp7+/ff0I2zJv9oQKBgAF+nnCwUAVBwrREmG48xglBxlXpgTN3p2K915ERcm1dEzmvCOcIpUSU8sdgiUQrzeoexvyDCeawcTF1Ho0Z5cslcRYqJdm8nuuhzJeJY1FiBc0Vxilogmtvc+pgfMgt5iyAEnhkWjFFlRCdM3wC+FmuRSj34mq2NfSoFZgEPYmHAoGAXbQMNvwUrPJrk40dR/Ih7KCBOQoPMgzzQnspyjTzxI5EQffMqD3RS4k1eHscrXpHK6T+zopSQjVCtd5k0ulCEJY3fKxlJdbkm2QORdyBYYoO20YBvOjp4Cig8ztUfw+XtYOUcvFJaOllB/dTB9oPqMOQJWq1F1qJKldtiA+H5CU=";

        // 支付宝公钥, 数据来源：左侧菜单-沙箱应用-网页/移动应用-应用信息-开发信息-公钥模式-查看-支付宝公钥-复制公钥，即可
        public static string AlipayPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAprdhXCuSaCGTxdmm0e4xRTnp5a7jT9k+ziR1tiRfHhU10++r6De9ZUiv4s2aDkZibVieqy1BeHZtCdpEJUmNxEhvdi3O8ipc8D1E+6/gAzR0oM8niGlNnMB7+fzGbemrZEwVOnBAS9Spibi44cKewOlGjEoXT2mB3kDuxhd+Pq1Wc/E0kyb9ENmaXsyGlA50lna4MPtwsgHwlS8i4w2B5ZW2LTk9OLPVbb5A6sG+2ytydLrYTom1bRV9OkkCXAbZ+SnDG49FDsdF5FpxUQ3D/eR/Bu7orNeVbizZbRxj380DCowrZjRGODeGxhSZtFlfrBAv6vSx7VTsaz41u0xFXwIDAQAB";

        // 签名方式
        public static string SignType = "RSA2";

        // 编码格式
        public static string CharSet = "UTF-8";

        public static string Format = "json";

    }
}
